import axios from "axios";
//注册
const register = {
    doRegisterApi(data){
        return axios({
            url:"/students/register",
            method:"POST",
            data
        });
    },
    doLoginApi(data){
        return axios({
            url:"/students/login",
            method:"POST",
            data
        });
    },
}
export default register;